#ifndef _ONENET_H_
#define _ONENET_H_ 

#include "esp8266.h"
#include "bsp_usart.h"
#include "FreeRTOS.h"
#include "task.h"
#include "mqttkit.h"
#include <string.h>
#include <stdio.h>
//#define MQTT_PUBLISH_ID			30
void OneNet_Init();
_Bool OneNet_DevLink(void);
void OneNet_SendData(int type);
void OneNet_Subscribe(void);
void OneNet_RevPro(unsigned char *cmd);
void OneNet_Ping(void);
unsigned char MqttOnenet_Savedata(char *t_payload);
unsigned char MqttOnenet_Savedata2(char *t_payload);
unsigned char MqttOnenet_Savedata3(char *t_payload);
#endif
